import request from "@/utils/request";
export const Basic = {
  //注册
  register(data) {
    return request.post("/reg/reg", {
      ...data,
    });
  },
  //登录
  check(data) {
    return request.post("/login/check", {
      ...data,
    });
  },
  //首页信息
  footer(data) {
    return request.post("/index/link", {
      ...data,
    });
  },
  //搜索信息
  search(data) {
    return request.post("/index/search", {
      ...data,
    });
  },
  //首页信息
  index(data) {
    return request.post("/index/index", {
      ...data,
    });
  },
  //资讯列表
  zixunList(data) {
    return request.post("/index/zixunList", {
      ...data,
    });
  },
  //资讯详情
  zixunInfo(data) {
    return request.post("/index/zixunInfo", {
      ...data,
    });
  },

  //发布代理需求
  shopDai(data) {
    return request.post("/order/shopDai", {
      ...data,
    });
  },

  //全部商品
  goodsAll(data) {
    return request.post("/index/goodsAll", {
      ...data,
    });
  },

  //商品详情
  goodsInfo(data) {
    return request.post("/index/goodsInfo", {
      ...data,
    });
  },

  //企业大全
  shopAll(data) {
    return request.post("/order/shopAll", {
      ...data,
    });
  },

  //店铺详情
  shopInfo(data) {
    return request.post("/order/shopInfo", {
      ...data,
    });
  },

  //店铺留言资讯
  messageShop(data) {
    return request.post("/order/messageShop", {
      ...data,
    });
  },

  //其他商品
  otherGoods(data) {
    return request.post("/order/otherGoods", {
      ...data,
    });
  },
  //联系我们
  aboutMe(data) {
    return request.post("/index/aboutMe", {
      ...data,
    });
  },
  //在线留言
  liuYan(data) {
    return request.post("/member/liuYan", {
      ...data,
    });
  },

  //广告申请页
  advertisementYe(data) {
    return request.post("/index/advertisementYe", {
      ...data,
    });
  },

  //广告申请
  advertisement(data) {
    return request.post("/index/advertisement", {
      ...data,
    });
  },

  //客户好评
  commentList(data) {
    return request.post("/order/commentList", {
      ...data,
    });
  },
};
